﻿using System.Text.Json.Serialization;

namespace RsCms.Application.Posts.Dto
{
    public class PostsListDto
    {
        [JsonPropertyName("id")]
        public string Id { get; set; }

        [JsonPropertyName("canonical_url")]
        public string CanonicalUrl { get; set; }

        [JsonPropertyName("codeinjection_foot")]
        public string CodeinjectionFoot { get; set; }

        [JsonPropertyName("codeinjection_head")]
        public string CodeinjectionHead { get; set; }

       

        [JsonPropertyName("created_at")]
        public DateTime CreatedAt { get; set; }

        [JsonPropertyName("created_by")]
        public string CreatedBy { get; set; }

       

       
        [JsonPropertyName("feature_image")]
        public string FeatureImage { get; set; }

      
      
        [JsonPropertyName("locale")]
        public string Locale { get; set; }

        [JsonPropertyName("mobiledoc")]
        public string Mobiledoc { get; set; }

        [JsonPropertyName("plaintext")]
        public string Plaintext { get; set; }

        [JsonPropertyName("published_at")]
        public DateTime? PublishedAt { get; set; }

        [JsonPropertyName("published_by")]
        public string PublishedBy { get; set; }

        [JsonPropertyName("show_title_and_feature_image")]
        public sbyte ShowTitleAndFeatureImage { get; set; }

        [JsonPropertyName("slug")]
        public string Slug { get; set; }

        [JsonPropertyName("status")]
        public string Status { get; set; }

        [JsonPropertyName("title")]
        public string Title { get; set; }

        [JsonPropertyName("type")]
        public string Type { get; set; }

        [JsonPropertyName("updated_at")]
        public DateTime? UpdatedAt { get; set; }

        [JsonPropertyName("updated_by")]
        public string UpdatedBy { get; set; }

        [JsonPropertyName("uuid")]
        public string Uuid { get; set; }

        [JsonPropertyName("visibility")]
        public string Visibility { get; set; }
    }
}
